<h1>Marks List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Mark value</th>
      <th>Student</th>
      <th>Lesson</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($marks as $mark): ?>
    <tr>
      <td><a href="<?php echo url_for('mark/show?id='.$mark->getId()) ?>"><?php echo $mark->getId() ?></a></td>
      <td><?php echo $mark->getMarkValue() ?></td>
      <td><?php echo $mark->getStudentId() ?></td>
      <td><?php echo $mark->getLessonId() ?></td>
      <td><?php echo $mark->getCreatedAt() ?></td>
      <td><?php echo $mark->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('mark/new') ?>">New</a>
